home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac: Not for Sale
/
Another.not.for.sale (Australia).iso
/
fade into you
/
getting there
/
Apps
/
MOO-1.7.6.src
/
inc
/
StdArg.h
< prev
next >
Wrap
Text File
|
1994-11-02
|
445b
|
24 lines
/*
StdArg.h -- Variable arguments
Copyright Apple Computer,Inc. 1987, 1990
All rights reserved.
*/
#ifndef __STDARG__
#define __STDARG__
#ifndef __va_list__
#define __va_list__
typedef char *va_list;
#endif
#define va_start(ap, parmN) ap = (va_list) ((char *)&parmN + sizeof (parmN))
#define va_arg(ap, type) ((type *)(ap += (sizeof (type) < sizeof(int) ? sizeof(int) : sizeof(type))))[-1]
#define va_end(ap) /* do nothing */
#endif